﻿using AutoMapper;
using T_vehicle.API.Application.Command.TiresUsedCommand;
using T_vehicle.Domain;

namespace T_vehicle.API.Extensions
{
    public class TiresUsedAuto:Profile
    {
        public TiresUsedAuto()
        {
            //添加使用记录
            CreateMap<AddTiresUsedCommand, TiresUsed>().ReverseMap();

            //修改使用记录
            CreateMap<UpdateTiresUsedCommand, TiresUsed>().ReverseMap();

        }
    }
}
